﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200047D RID: 1149
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterSectionScRsp : IMessage<EnterSectionScRsp>, IMessage, IEquatable<EnterSectionScRsp>, IDeepCloneable<EnterSectionScRsp>, IBufferMessage
	{
		// Token: 0x17000ECD RID: 3789
		// (get) Token: 0x060033BD RID: 13245 RVA: 0x0008E590 File Offset: 0x0008C790
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterSectionScRsp> Parser
		{
			get
			{
				return EnterSectionScRsp._parser;
			}
		}

		// Token: 0x17000ECE RID: 3790
		// (get) Token: 0x060033BE RID: 13246 RVA: 0x0008E597 File Offset: 0x0008C797
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterSectionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000ECF RID: 3791
		// (get) Token: 0x060033BF RID: 13247 RVA: 0x0008E5A9 File Offset: 0x0008C7A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterSectionScRsp.Descriptor;
			}
		}

		// Token: 0x060033C0 RID: 13248 RVA: 0x0008E5B0 File Offset: 0x0008C7B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterSectionScRsp()
		{
		}

		// Token: 0x060033C1 RID: 13249 RVA: 0x0008E5B8 File Offset: 0x0008C7B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterSectionScRsp(EnterSectionScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060033C2 RID: 13250 RVA: 0x0008E5DD File Offset: 0x0008C7DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterSectionScRsp Clone()
		{
			return new EnterSectionScRsp(this);
		}

		// Token: 0x17000ED0 RID: 3792
		// (get) Token: 0x060033C3 RID: 13251 RVA: 0x0008E5E5 File Offset: 0x0008C7E5
		// (set) Token: 0x060033C4 RID: 13252 RVA: 0x0008E5ED File Offset: 0x0008C7ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060033C5 RID: 13253 RVA: 0x0008E5F6 File Offset: 0x0008C7F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterSectionScRsp);
		}

		// Token: 0x060033C6 RID: 13254 RVA: 0x0008E604 File Offset: 0x0008C804
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterSectionScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060033C7 RID: 13255 RVA: 0x0008E634 File Offset: 0x0008C834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060033C8 RID: 13256 RVA: 0x0008E673 File Offset: 0x0008C873
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060033C9 RID: 13257 RVA: 0x0008E67B File Offset: 0x0008C87B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060033CA RID: 13258 RVA: 0x0008E684 File Offset: 0x0008C884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060033CB RID: 13259 RVA: 0x0008E6B8 File Offset: 0x0008C8B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060033CC RID: 13260 RVA: 0x0008E6F6 File Offset: 0x0008C8F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterSectionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060033CD RID: 13261 RVA: 0x0008E727 File Offset: 0x0008C927
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060033CE RID: 13262 RVA: 0x0008E730 File Offset: 0x0008C930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001454 RID: 5204
		private static readonly MessageParser<EnterSectionScRsp> _parser = new MessageParser<EnterSectionScRsp>(() => new EnterSectionScRsp());

		// Token: 0x04001455 RID: 5205
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001456 RID: 5206
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04001457 RID: 5207
		private uint retcode_;
	}
}
